﻿/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

CKEDITOR.editorConfig = function( config )
{
	// Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';
	 config.language = 'zh-cn'; //配置语言
	config.uiColor = '#FFF'; //背景颜色
	config.width = 500; //宽度
	config.height = 70; //高度
	config.extraPlugins = 'myplugin'; //新建插件 
	config.toolbar = 'Full';   

	config.toolbar_Full =
		[
		    ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
		    ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
		    ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
		    '/',
		    ['TextColor','BGColor'],
		    ['Maximize', 'ShowBlocks','-','Source','-','Undo','Redo']

		];
	
	 config.toolbar_Basic =
		[
		    ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
		    ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
		    ['Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
		    '/',
		    ['TextColor','BGColor'],
		    ['Maximize', 'ShowBlocks','-','Source','-','Undo','Redo','-','MyButton']

		];

};
